// const url = require('url');
// const urlStr = ''
// console.log('==url====>', url)
const { log } = require('console');
const querystring = require('querystring');
const myURL = new URL('/foo', 'https://example.org/');
console.log('==myURL====>', myURL)

const searchParams = new URLSearchParams('user=abc&query=xyz');

const dsa = 'name=llq&age=18'

console.log(querystring.parse(dsa));

console.log('==dsa====>', dsa)